<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Ingredients of all Phar archives, independent of file format</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="phar.fileformat.html">« What makes a phar a phar and not a tar or a zip?</a></li>
      <li style="float: right;"><a href="phar.fileformat.stub.html">Phar file stub »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="phar.fileformat.html">What makes a phar a phar and not a tar or a zip?</a></li>
    <li>Ingredients of all Phar archives, independent of file format</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="phar.fileformat.ingredients" class="section">
  <h2 class="title">Ingredients of all Phar archives, independent of file format</h2>
  <p class="para">
   All Phar archives contain three to four sections:
   <ol type="1">
    <li class="listitem">
     <p class="para">a stub</p>
    </li>
    <li class="listitem">
     <p class="para">a manifest describing the contents</p>
    </li>
    <li class="listitem">
     <p class="para">the file contents</p>
    </li>
    <li class="listitem">
     <p class="para">[optional] a signature for verifying Phar integrity (phar file format only)</p>
    </li>
   </ol>
  </p>
 </div></div></div></body></html>